package com.seecen.HJM.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.seecen.HJM.model.dto.BannerDto;
import com.seecen.HJM.model.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seecen.HJM.result.DataVo;
import com.seecen.HJM.result.PageResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author 李龙
* @description 针对表【tb_banner】的数据库操作Service
* @createDate 2025-09-26 14:16:27
*/

public interface BannerService extends IService<Banner> {
    DataVo<PageResult<Banner>> getBanner(BannerDto bannerDto);
    DataVo addBanner(String url);

    DataVo updateBanner(Long bannerId, String url);

    DataVo updateStatus(Long bannerId, Integer bannerStatus);

    DataVo deleteBanner(Long bannerId);

    DataVo deleteBannerList(List<Long> bannerIds);
}
